package com.oa.ylms.apps.dao.goods;

import java.util.List;

import com.oa.ylms.apps.entity.goods.GoodInfoValue;
import com.oa.ylms.apps.entity.goods.GoodOrderDetailValue;
import com.oa.ylms.apps.entity.goods.GoodOrderValue;

public interface IGoodsOrderDetailDao {
	/**
	 * 添加一条物资申请详情记录
	 * @param orderDetail
	 * @return
	 * @throws Exception
	 */
	public int addOrderDetail(GoodOrderDetailValue orderDetail)
			throws Exception;
	/**
	 * 修改物资申请详情表
	 * @param od
	 * @return
	 * @throws Exception
	 */
	public boolean modifyOrderDetail(GoodOrderDetailValue od) throws Exception;
	
	public List<GoodOrderDetailValue> queryByOrderId (GoodOrderDetailValue orderDetail) throws Exception;
	
	public GoodOrderDetailValue queryByOrderIdAndGoodId(GoodInfoValue goodInfo, GoodOrderValue goodOrder) throws Exception;
}
